﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucBulletinList.ascx.cs"
    Inherits="ExpertMIS.UserControl.ucBulletinList" %>
<asp:Panel runat="server" ID="pnBulletin">
    <% if (ShowTitle)
       { %>
    <h1>
        <a href="#">网站动态</a></h1>
    <%} %>
    <asp:Repeater runat="server" ID="repBulletinList" OnItemDataBound="repBulletinList_ItemDataBound">
        <HeaderTemplate>
            <ul>
        </HeaderTemplate>
        <ItemTemplate>
            <li style="padding-right: 8px;"><a href='<%# Page.ResolveUrl("~/Columns/ViewBulletin.aspx?oid=") + Eval("OID") + "&catalog=" + ((int)BulletinCatalog).ToString() %>'
                target="_blank" style="float: left;">
                <%# GetBulletinTitle(Eval("Bulletin"))%></a> <%--<span style="float: right;">
                    <%# Eval("UpdateDate","{0:yy/M/d}") %></span>--%>
                <asp:Image runat="server" ID="imgNew" alt="news" ImageUrl="~/imgs/org/news.gif" Width="28px"
                    Height="11px" BorderWidth="0" Visible="false" />
            </li>
        </ItemTemplate>
        <FooterTemplate>
            </ul>
        </FooterTemplate>
    </asp:Repeater>
</asp:Panel>
